package vn.com.pavibook.dao;

import java.util.List;

import vn.com.pavibook.domain.model.BookType;
import vn.com.pavibook.domain.model.PagingInfo;
import vn.com.pavibook.domain.model.SearchResult;
import vn.com.pavibook.model.vo.BookTypeVO;

public interface BookTypeDao {
	List<BookType> getAllBookType();
	BookType getBookTypeById(int id);
	SearchResult<BookType> getBooks(PagingInfo pagingInfo, String keyword);
	void deleteBooktype(int id);
	boolean isExistedBooktype(String bookName);
	void addNewBookType(BookTypeVO bookTypeVO);
	void editBookType(BookTypeVO bookTypeVO);
}
